<div class="main_top">
   <if condition="$htmlPower gt 0"><h3><!--<a href="{:U('Build/creatHtml')}">生成静态页</a>--></h3> </if> 
	<span id="localtime" class="localtime">
		<import type="js" basepath="__JS__" file="time" />
	</span>
    <font> <a href="javascript:void(0);" onclick="javascript:history.back(-1);"></a> </font>
	<em class="welinfo">
   		
		 <b>{:cookie('AUTH_USER_NAME')} (<strong><if condition="$m_id eq 1">超级管理员<else />{$group_name}</if></strong>)</b>您好，欢迎访问本站。
        <if condition="$langLock gt 0">
            <select class="sel1" onchange="javascript:changeLang(this.value)">
              <foreach name="langList" item="item">
              <option value="{$item.lang}" <if condition="$item.lang eq cookie('AUTH_USER_LANG')">selected</if>>{$item.title}</option>
              </foreach>  
            </select>
        </if>
	</em>
</div>
<if condition="$langLock gt 0">
<script language="javascript">

	function changeLang(val){
		
		$.post("{:U('User/ajaxChangeLanguage')}",{val:val},function(result){
		
				if(result=="success"){
					self.location.reload();
				}
		});		
		
	}

</script>
</if>